<?php
/**
 * 公司客户文件
 *
 * @author		Arthur(ArthurXF@gmail.com)
 * @copyright	(c) 2008 by bizeway.com
 * @version		$Id$
 * @package		ArthurXF
 * @subpackage	client
 */
if (is_object($objWebInit)) {
	if(!isset($objclient)){
		include_once(__WEB_ROOT."/client/class/client.class.php");
		include_once(__WEB_ROOT."/client/config/var.inc.php");
		$objclient = new client();
		$objclient->setDBG($arrGPdoDB);
		$objclient->arrGPic = $arrGPic;
		if(is_object($objWebInit->db)) $objclient->db = $objWebInit->db;
		else $objclient->db();
	}
}

$arrTopclient = array();
$arrTopclient = $objclient->getInfoList("where pass=1","  ORDER BY recommendflag DESC,submit_date DESC,clicktimes  DESC", 0, 10,true);
unset($arrTopclient['COUNT_ROWS']);

$arrMOutput["smarty_assign"]['clientImg'] = $objclient->arrGPic['FileCallPath'];
$arrMOutput["smarty_assign"]['arrTopclient'] = $arrTopclient;
?>